<%--
  Created by IntelliJ IDEA.
  User: wowud
  Date: 2025/3/12
  Time: 11:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <td>姓名</td>
        <td>学号</td>
        <td>年龄</td>
        <td>专业</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${students}" var="stu">
        <tr>
            <td>${stu.stuName}</td>
            <td>${stu.stuNo}</td>
            <td>${stu.age}</td>
            <td>${stu.major}</td>
            <td><a href="${pageContext.request.contextPath}/student/remove?stuNo=${stu.stuNo}">删除</a></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
